package com.ruoyi.server.api.memberTypeManagement.mapper;
import com.ruoyi.server.api.memberTypeManagement.domain.MemberTypeManagement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
 * 会员类型Mapper接口
 *
 * @author ruoyi
 * @date 2024-06-10
 */
@Mapper
public interface MemberTypeManagementMapper
{
    /**
     * 查询会员类型
     *
     * @param id 会员类型主键
     * @return 会员类型
     */
    public MemberTypeManagement selectMemberTypeManagementById(@Param("id") Integer id,@Param("venueUniqueIdentifier") String venueUniqueIdentifier);
    /**
     * 查询会员类型列表
     *
     * @param memberTypeManagement 会员类型
     * @return 会员类型集合
     */
    public List<MemberTypeManagement> selectMemberTypeManagementList(MemberTypeManagement memberTypeManagement);
    /**
     * 新增会员类型
     *
     * @param memberTypeManagement 会员类型
     * @return 结果
     */
    public int insertMemberTypeManagement(MemberTypeManagement memberTypeManagement);
    /**
     * 修改会员类型
     *
     * @param memberTypeManagement 会员类型
     * @return 结果
     */
    public int updateMemberTypeManagement(MemberTypeManagement memberTypeManagement);
    /**
     * 修改会员卡状态
     *
     * @param  memberTypeManagement 会员类型
     * @return 结果
     */
    public int updateMemberTypeManagementState(MemberTypeManagement memberTypeManagement);
    /**
     * 删除会员类型
     *
     * @param memberTypeManagement 会员类型主键
     * @return 结果
     */
    public int updateMemberTypeManagementDelFlagById(MemberTypeManagement memberTypeManagement);
    /**
    * @Author ZMH
    * @Description 根据会员卡类型和唯一标识查询数据
    * @Date 2024/6/12 20:30
    * @Return
    * @param memberType venueUniqueIdentifier
    */
    MemberTypeManagement selectByMemberType(@Param("memberType") Integer memberType,@Param("venueUniqueIdentifier") String venueUniqueIdentifier);

}
